package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 权限实体类
 */
@TableName("t_grade")
@ApiModel(value = "用户权限实体类", description = "封装用户权限相关属性")
public class GradeBean {
    /**
     * 权限id
     */
    @TableId(value = "pk_gradeId", type = IdType.AUTO)
    @ApiModelProperty("权限编号")
    private Integer gradeId;
    /**
     * 权限名称
     */
    @TableField("g_gradeName")
    @ApiModelProperty("权限名称")
    private String gradeName;
    /**
     * 权限内容
     */
    @TableField("g_content")
    @ApiModelProperty("权限内容")
    private String content;

    public GradeBean() {
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "GradeBean{" +
                "gradeId=" + gradeId +
                ", gradeName='" + gradeName + '\'' +
                ", content='" + content + '\'' +
                '}' + "\n";
    }
}
